package main
import "fmt"
func test(n1 int,n2 int) (int,int){
	sum := n1+n2
	sub := n1-n2
	return sub,sum
}
func main() {
	n1 := 99
	n2 := 100
	sum, sub := test(n1, n2)
	//可以用占位符 _ 来忽略某个返回值
	sum1, _ := test(n1, n2)
	fmt.Println("sum=",sum,"\nsub=",sub)
	fmt.Println("sum1=",sum1)
}